NinjaTables\App\Hooks\Handlers\NoticeHandler A

Total Complexity 59
Dependencies 2
Dependents 0
Total lines 299
Lines of code 213
Logical lines of code 110
Comment lines 0
Methods 17
Properties 2

Methods 17

Method Rating Maintainability Complexity Lines of code
detectUserReviewSegment()
A
45 15 38
addAdminNotice()
S
57 7 16
handleDismissNotice()
S
51 6 24
shouldShowNotice()
S
58 6 16
notices()
S
55 5 18
getAllNoticeDefinitions()
S
55 2 20
renderNoticeTemplate()
S
57 2 19
getReviewHtml()
S
66 3 8
appendNotices()
S
62 2 11
ensureInstalledAtTimestamp()
S
73 2 5
shouldShowUpgradeNotice()
S
75 2 4
isTempDismissalExpired()
S
66 2 8
getUpgradeNoticeHtml()
S
71 1 5
sendJsonError()
S
78 1 3
getReviewMessages()
S
65 1 9
getStarsSvg()
S
75 1 4
register()
S
72 1 5